<div class="page-container row">


  	<?php include_partial('sidebar', array('current_page' => 'view')) ?>
  
	<div class="page-content">
		<div class="content">
		
			<ul class="breadcrumb">
		        <li><p>View Data</p></li>
		        <i class="icon-angle-right"></i>
		        <li><a href='<?php print url_for("view_gas")?>' class="active">Brands</a> </li>
		        <i class="icon-angle-right"></i>
		        <li><a href='<?php print url_for("@location?brand=".html_entity_decode($brand))?>' class="active"><?php print $brand?></a> </li>
		        <i class="icon-angle-right"></i>
		        <li><a href='<?php print url_for("@price?brand=".html_entity_decode($brand)."&address=".html_entity_decode($address))?>' class="active"><?php print $address?></a> </li>
	      	</ul>
	      	
	      	<div class="page-title"> <i class="icon-circle-arrow-left"></i>
				<h3>Prices - <span class="semi-bold"><?php print $address?></span></h3>
			</div>
		
			<div class='row'>
				<div class="grid simple">
					<div class='grid-body'>
						<div id="placeholder-bar-chart" style="height:250px"></div>
						
					</div>
				</div>
			</div>
			
		</div>
	</div>
</div>

<script type="text/javascript">
<?php 
	print "var regular = [".implode(',', $sf_data->getRaw('regular'))."];";
	print "var midgrade = [".implode(',', $sf_data->getRaw('midgrade'))."];";
	print "var premium = [".implode(',', $sf_data->getRaw('premium'))."];";
?>
</script>

